package com.example.person_web.common;

import java.util.Random;

public class RandomNumber {
    public static Integer getFourRandomNumber() {
        Random random = new Random();
        int min = 1000;
        int max = 9999;

        // 生成 1000-9999 之间的随机整数
        int randomNum = random.nextInt(max - min + 1) + min;
        return randomNum;
    }
}
